﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;

namespace Common
{
    /// <summary>
    /// Represents an item of data to display.
    /// </summary>
    public class DataRow
    {
        /// <summary>
        /// Get or set label for this data row.
        /// </summary>
        public string Label;

        /// <summary>
        /// Get or set the data to display.
        /// </summary>
        public List<double> Data = new List<double>();

        /// <summary>
        /// The pen used to draw this row of data.
        /// </summary>
        public Pen Pen;

        /// <summary>
        /// Construct new data row with label and pen.
        /// </summary>
        public DataRow(string label, Pen pen)
        {
            Label = label;
            Pen = pen;
        }
    }
}
